<?php
if ( !class_exists( 'Yag_The_Class' ) ) {
	class Yag_The_Class
	{
		private $yag_options;
		private $content;
		private $yag_words;
	
		public function is_yag( $post_name ) {

			$yag_options = get_option('yag_options');
			
			if ( $yag_options['yag_on_page'] == 'all' ) {
				$this->yag_option = $yag_options;
				return TRUE;
			}
			
			if ( isset ( $yag_settings['yag_on_page'] ) && count($yag_settings['yag_on_page']) ) {
				
				if( in_array( strtolower( $post_name ), $yag_settings['yag_on_page'] ) ) {
					return TRUE;
				}
			}
			
			return FALSE;
		}
		
		public function contains_yag_word( $content ) {
			
		}
		
		public function yag_up_content( ) {
			
		}
		
		public function support_the_yag() {
			
		}
	}
}